import Vue from 'vue'
import App from './App.vue'
import router from "@/router/index.js"//路由
import store from "@/store/index.js"//vuex


Vue.config.productionTip = false

import "@/style/reset.css"//重置样式

import "@/style/border.css"//解决移动端1px边框问题

import FastClick from "fastclick"//解决移动端300毫秒延迟问题
FastClick.attach(document.body);

import Vant from 'vant';//vant-ui js
import 'vant/lib/index.css';//vant-ui 样式
import { Lazyload } from 'vant';//懒加载组件

import myPlugins from "@/plugins/myPlugins.js"//自定义插件

Vue.prototype.$eventBus = new Vue()//eventBus

Vue //使用插件
  .use(Vant)
  .use(myPlugins)
  .use(Lazyload)


new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
